Print nicer messages on 'no package named' errors
authorAlex Crichton <alex@alexcrichton.com>
Sun, 11 Jan 2015 07:03:58 +0000 (23:03 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Wed, 14 Jan 2015 18:29:36 +0000 (10:29 -0800)
commit96589b359fd7212765dd532c5ee693cbd1fbfefb
treed4ef79a637fc88ea89a430207310af18bb960909
parent25fa147a5b375a59e883526113f3461528d63975
Print nicer messages on 'no package named' errors

The new message will print out a selection of versions that were found if any
are to be had, as well as a recommendation to run `cargo update` if it's a path
dependency.

Closes #1145
src/cargo/core/resolver/mod.rs
tests/resolve.rs
tests/test_cargo_compile.rs
tests/test_cargo_registry.rs